# Maintainer: Affe Null <affenull2345@gmail.com>
pkgname=bananui-shell
pkgver=0.1.0
pkgrel=0
pkgdesc="Keypad controlled UI for feature phones (shell)"
url="https://git.abscue.de/obp/bananui/shell"
arch="all !s390x" # blocked by phoc
license="LGPL-3.0-or-later"
makedepends="
	bananui-dev
	callaudiod-dev
	eudev-dev
	feedbackd-dev
	gnome-desktop-dev
	gnome-menus-dev
	meson
	wayland-protocols
	"
depends="
	bananui-daemons
	bash
	phoc
	superd
	xwayland
	"
source="
	bananui-shell-v$pkgver.tar.gz::https://git.abscue.de/obp/bananui/shell/-/archive/v$pkgver/shell-v$pkgver.tar.gz
	"
options="!check" # no tests available
builddir="$srcdir/shell-v$pkgver"

build() {
	abuild-meson . output -Dsuperd=true
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir/" meson install --no-rebuild -C output
}

sha512sums="
dec2df57f9a95c58f0e76ce159756a6e3108d81195a0c1d477c3bc6ab5f49eed7d965455c18c341ea029dcef224c6f48d7e0735037015c3a8998750e2c07610b  bananui-shell-v0.1.0.tar.gz
"
